#include <iostream>
using namespace std;

int main() {
    unsigned int a;
    cin >> a;
    if (10 <= a && a <= 99)
    {
        cout << 1;
    } else {
        cout << 0;
    }

    return 0;
}